package net.java.mediasystems.database.core.service;

import java.util.List;

import net.java.mediasystems.database.core.model.MediaItem;

/**
 * MediaItemService Definition
 */
public interface MediaItemService {
	
	/**
	 * Add a MediaItem.
	 * 
	 * @param mediaItem MediaItem
	 * @return MediaItem
	 */
	MediaItem addMediaItem(MediaItem mediaItem);
	
	/**
	 * Get a list of MediaItems by the given Title.
	 * <br/>
	 * A MediaItem will be added to the Result-List, when its title contains the given title-string.
	 * 
	 * @param title String
	 * @return List<MediaItem>
	 */
	List<MediaItem> getByTitleLike(String title);
}
